﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000905 RID: 2309
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class HeliobusStartRaidCsReq : IMessage<HeliobusStartRaidCsReq>, IMessage, IEquatable<HeliobusStartRaidCsReq>, IDeepCloneable<HeliobusStartRaidCsReq>, IBufferMessage
	{
		// Token: 0x17001D30 RID: 7472
		// (get) Token: 0x06006776 RID: 26486 RVA: 0x0011582B File Offset: 0x00113A2B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<HeliobusStartRaidCsReq> Parser
		{
			get
			{
				return HeliobusStartRaidCsReq._parser;
			}
		}

		// Token: 0x17001D31 RID: 7473
		// (get) Token: 0x06006777 RID: 26487 RVA: 0x00115832 File Offset: 0x00113A32
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return HeliobusStartRaidCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001D32 RID: 7474
		// (get) Token: 0x06006778 RID: 26488 RVA: 0x00115844 File Offset: 0x00113A44
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return HeliobusStartRaidCsReq.Descriptor;
			}
		}

		// Token: 0x06006779 RID: 26489 RVA: 0x0011584B File Offset: 0x00113A4B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public HeliobusStartRaidCsReq()
		{
		}

		// Token: 0x0600677A RID: 26490 RVA: 0x00115860 File Offset: 0x00113A60
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public HeliobusStartRaidCsReq(HeliobusStartRaidCsReq other) : this()
		{
			this.propEntityId_ = other.propEntityId_;
			this.isSaveData_ = other.isSaveData_;
			this.fEBGEDCCLGE_ = other.fEBGEDCCLGE_;
			this.raidId_ = other.raidId_;
			this.avatarList_ = other.avatarList_.Clone();
			this.skillId_ = other.skillId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600677B RID: 26491 RVA: 0x001158D1 File Offset: 0x00113AD1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public HeliobusStartRaidCsReq Clone()
		{
			return new HeliobusStartRaidCsReq(this);
		}

		// Token: 0x17001D33 RID: 7475
		// (get) Token: 0x0600677C RID: 26492 RVA: 0x001158D9 File Offset: 0x00113AD9
		// (set) Token: 0x0600677D RID: 26493 RVA: 0x001158E1 File Offset: 0x00113AE1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint PropEntityId
		{
			get
			{
				return this.propEntityId_;
			}
			set
			{
				this.propEntityId_ = value;
			}
		}

		// Token: 0x17001D34 RID: 7476
		// (get) Token: 0x0600677E RID: 26494 RVA: 0x001158EA File Offset: 0x00113AEA
		// (set) Token: 0x0600677F RID: 26495 RVA: 0x001158F2 File Offset: 0x00113AF2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool IsSaveData
		{
			get
			{
				return this.isSaveData_;
			}
			set
			{
				this.isSaveData_ = value;
			}
		}

		// Token: 0x17001D35 RID: 7477
		// (get) Token: 0x06006780 RID: 26496 RVA: 0x001158FB File Offset: 0x00113AFB
		// (set) Token: 0x06006781 RID: 26497 RVA: 0x00115903 File Offset: 0x00113B03
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint FEBGEDCCLGE
		{
			get
			{
				return this.fEBGEDCCLGE_;
			}
			set
			{
				this.fEBGEDCCLGE_ = value;
			}
		}

		// Token: 0x17001D36 RID: 7478
		// (get) Token: 0x06006782 RID: 26498 RVA: 0x0011590C File Offset: 0x00113B0C
		// (set) Token: 0x06006783 RID: 26499 RVA: 0x00115914 File Offset: 0x00113B14
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint RaidId
		{
			get
			{
				return this.raidId_;
			}
			set
			{
				this.raidId_ = value;
			}
		}

		// Token: 0x17001D37 RID: 7479
		// (get) Token: 0x06006784 RID: 26500 RVA: 0x0011591D File Offset: 0x00113B1D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> AvatarList
		{
			get
			{
				return this.avatarList_;
			}
		}

		// Token: 0x17001D38 RID: 7480
		// (get) Token: 0x06006785 RID: 26501 RVA: 0x00115925 File Offset: 0x00113B25
		// (set) Token: 0x06006786 RID: 26502 RVA: 0x0011592D File Offset: 0x00113B2D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint SkillId
		{
			get
			{
				return this.skillId_;
			}
			set
			{
				this.skillId_ = value;
			}
		}

		// Token: 0x06006787 RID: 26503 RVA: 0x00115936 File Offset: 0x00113B36
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as HeliobusStartRaidCsReq);
		}

		// Token: 0x06006788 RID: 26504 RVA: 0x00115944 File Offset: 0x00113B44
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(HeliobusStartRaidCsReq other)
		{
			return other != null && (other == this || (this.PropEntityId == other.PropEntityId && this.IsSaveData == other.IsSaveData && this.FEBGEDCCLGE == other.FEBGEDCCLGE && this.RaidId == other.RaidId && this.avatarList_.Equals(other.avatarList_) && this.SkillId == other.SkillId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06006789 RID: 26505 RVA: 0x001159D4 File Offset: 0x00113BD4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.PropEntityId != 0U)
			{
				num ^= this.PropEntityId.GetHashCode();
			}
			if (this.IsSaveData)
			{
				num ^= this.IsSaveData.GetHashCode();
			}
			if (this.FEBGEDCCLGE != 0U)
			{
				num ^= this.FEBGEDCCLGE.GetHashCode();
			}
			if (this.RaidId != 0U)
			{
				num ^= this.RaidId.GetHashCode();
			}
			num ^= this.avatarList_.GetHashCode();
			if (this.SkillId != 0U)
			{
				num ^= this.SkillId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600678A RID: 26506 RVA: 0x00115A85 File Offset: 0x00113C85
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600678B RID: 26507 RVA: 0x00115A8D File Offset: 0x00113C8D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600678C RID: 26508 RVA: 0x00115A98 File Offset: 0x00113C98
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.RaidId != 0U)
			{
				output.WriteRawTag(24);
				output.WriteUInt32(this.RaidId);
			}
			if (this.IsSaveData)
			{
				output.WriteRawTag(40);
				output.WriteBool(this.IsSaveData);
			}
			this.avatarList_.WriteTo(ref output, HeliobusStartRaidCsReq._repeated_avatarList_codec);
			if (this.FEBGEDCCLGE != 0U)
			{
				output.WriteRawTag(80);
				output.WriteUInt32(this.FEBGEDCCLGE);
			}
			if (this.PropEntityId != 0U)
			{
				output.WriteRawTag(88);
				output.WriteUInt32(this.PropEntityId);
			}
			if (this.SkillId != 0U)
			{
				output.WriteRawTag(120);
				output.WriteUInt32(this.SkillId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600678D RID: 26509 RVA: 0x00115B58 File Offset: 0x00113D58
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.PropEntityId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.PropEntityId);
			}
			if (this.IsSaveData)
			{
				num += 2;
			}
			if (this.FEBGEDCCLGE != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.FEBGEDCCLGE);
			}
			if (this.RaidId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.RaidId);
			}
			num += this.avatarList_.CalculateSize(HeliobusStartRaidCsReq._repeated_avatarList_codec);
			if (this.SkillId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.SkillId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600678E RID: 26510 RVA: 0x00115C00 File Offset: 0x00113E00
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(HeliobusStartRaidCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.PropEntityId != 0U)
			{
				this.PropEntityId = other.PropEntityId;
			}
			if (other.IsSaveData)
			{
				this.IsSaveData = other.IsSaveData;
			}
			if (other.FEBGEDCCLGE != 0U)
			{
				this.FEBGEDCCLGE = other.FEBGEDCCLGE;
			}
			if (other.RaidId != 0U)
			{
				this.RaidId = other.RaidId;
			}
			this.avatarList_.Add(other.avatarList_);
			if (other.SkillId != 0U)
			{
				this.SkillId = other.SkillId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600678F RID: 26511 RVA: 0x00115C9D File Offset: 0x00113E9D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06006790 RID: 26512 RVA: 0x00115CA8 File Offset: 0x00113EA8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 64U)
				{
					if (num == 24U)
					{
						this.RaidId = input.ReadUInt32();
						continue;
					}
					if (num == 40U)
					{
						this.IsSaveData = input.ReadBool();
						continue;
					}
					if (num == 64U)
					{
						goto IL_66;
					}
				}
				else if (num <= 80U)
				{
					if (num == 66U)
					{
						goto IL_66;
					}
					if (num == 80U)
					{
						this.FEBGEDCCLGE = input.ReadUInt32();
						continue;
					}
				}
				else
				{
					if (num == 88U)
					{
						this.PropEntityId = input.ReadUInt32();
						continue;
					}
					if (num == 120U)
					{
						this.SkillId = input.ReadUInt32();
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				continue;
				IL_66:
				this.avatarList_.AddEntriesFrom(ref input, HeliobusStartRaidCsReq._repeated_avatarList_codec);
			}
		}

		// Token: 0x04002780 RID: 10112
		private static readonly MessageParser<HeliobusStartRaidCsReq> _parser = new MessageParser<HeliobusStartRaidCsReq>(() => new HeliobusStartRaidCsReq());

		// Token: 0x04002781 RID: 10113
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002782 RID: 10114
		public const int PropEntityIdFieldNumber = 11;

		// Token: 0x04002783 RID: 10115
		private uint propEntityId_;

		// Token: 0x04002784 RID: 10116
		public const int IsSaveDataFieldNumber = 5;

		// Token: 0x04002785 RID: 10117
		private bool isSaveData_;

		// Token: 0x04002786 RID: 10118
		public const int FEBGEDCCLGEFieldNumber = 10;

		// Token: 0x04002787 RID: 10119
		private uint fEBGEDCCLGE_;

		// Token: 0x04002788 RID: 10120
		public const int RaidIdFieldNumber = 3;

		// Token: 0x04002789 RID: 10121
		private uint raidId_;

		// Token: 0x0400278A RID: 10122
		public const int AvatarListFieldNumber = 8;

		// Token: 0x0400278B RID: 10123
		private static readonly FieldCodec<uint> _repeated_avatarList_codec = FieldCodec.ForUInt32(66U);

		// Token: 0x0400278C RID: 10124
		private readonly RepeatedField<uint> avatarList_ = new RepeatedField<uint>();

		// Token: 0x0400278D RID: 10125
		public const int SkillIdFieldNumber = 15;

		// Token: 0x0400278E RID: 10126
		private uint skillId_;
	}
}
